package com.dev.base.able;

import ohos.agp.components.Component;
import ohos.data.orm.BindUtils;

/**
 * detail: 基类 Layout View 相关方法
 * @author Ttt
 */
public interface IDevBaseLayout {


    /**
     * 获取 Layout Id ( 用于 contentLinear addView )
     * @return Layout Id
     */
    public int  baseLayoutId();

    /**
     * 获取 Layout View ( 用于 contentLinear addView )
     * @return Layout View
     */
    public Component baseLayoutComponent();

    /**
     * Layout View addView 是否 LayoutParams.MATCH_PARENT
     */
    public default boolean isLayoutMatchParent() {
        return true;
    }
}
